import { FlowBoardData as _FlowBoardData } from './flow-board-data'
import { FlowFile as _FlowFile } from './flow-file'
import { FlowPlatform as _FlowPlatform } from './flow-platform'
import { FlowTemplate as _FlowTemplate } from './flow-template'
import {
  FlowFileType as _FlowFileType,
  FlowFileBelong as _FlowFileBelong,
  FlowTemplateBelong as _FlowTemplateBelong,
} from '@prisma/client'

export namespace DomainModel {
  export class FlowBoardData extends _FlowBoardData {}
  export class FlowFile extends _FlowFile {}
  export class FlowPlatform extends _FlowPlatform {}
  export class FlowTemplate extends _FlowTemplate {}

  export const extraModels = [FlowBoardData, FlowFile, FlowPlatform, FlowTemplate]

  export const ApiPropertyEnum = {
    ..._FlowBoardData.ApiPropertyEnum,
    ..._FlowFile.ApiPropertyEnum,
    ..._FlowPlatform.ApiPropertyEnum,
    ..._FlowTemplate.ApiPropertyEnum,
  }

  export const FlowFileType = _FlowFileType
  export type FlowFileType = _FlowFileType

  export const FlowFileBelong = _FlowFileBelong
  export type FlowFileBelong = _FlowFileBelong

  export const FlowTemplateBelong = _FlowTemplateBelong
  export type FlowTemplateBelong = _FlowTemplateBelong
}
